package com.rop.znyx.activity.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.rop.znyx.model.activity.SecKillSku;
import com.rop.znyx.vo.activity.SecKillSkuQueryVo;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 * User: Rop
 * Date: 2023/7/11
 * Time: 9:41
 * Description:
 */

public interface SecKillSkuService extends IService<SecKillSku> {

    /**
     * 获取分页列表
     */
    IPage<SecKillSku> selectPage(Page<SecKillSku> pageParam, SecKillSkuQueryVo SecKillSkuQueryVo);

    /**
     * 批量保存sku并更新为秒杀商品
     */
    boolean saveBatchBySkuList(List<SecKillSku> SecKillSkuList);
}
